import request from '../../service/index.js'

export const wxGetRegionConfig = () => {
	return request({
		path: '/public/static/json/city-del.json',
		method: 'GET',
		module: 'recruit'
	})
}
export const getWorkResumeDtl = data => {
	return request({
		path: '/recruit/recruit/workers_resume',
		method: 'POST',
		data,
		module: 'recruit'
	})
}
export const wxGetCityConfig = () => {
	return request({
		path: '/public/static/json/city.json',
		method: 'GET',
		module: 'recruit'
	})
}
export const wxGetPositionConfig = () => {
	return request({
		path: '/public/static/json/position.json',
		method: 'GET',
		module: 'recruit'
	})
}
export const wxGetIndustryConfig = () => {
	return request({
		path: '/public/static/json/industry.json',
		method: 'GET',
		module: 'recruit'
	})
}
export const getMainPositionList = data => {
	return request({
		path: '/recruit/recruit/position',
		method: 'POST',
		data,
		module: 'recruit'
	})
}
export const getMemberResumeList = data => {
	return request({
		path: '/recruit/recruit/member_resume',
		method: 'POST',
		data,
		module: 'recruit'
	})
}
export const getPositionDetail = data => {
	return request({
		path: '/recruit/recruit/post_desc',
		method: 'POST',
		data,
		module: 'recruit'
	})
}
export const dq_up_user = data => {
	return request({
		path: '/recruit/recruit/dq_up_user',
		method: 'POST',
		data,
		module: 'recruit'
	})
}
export const getCompanyDtlInfo = data => {
	return request({
		path: '/recruit/recruit/company_member',
		method: 'POST',
		data,
		module: 'recruit'
	})
}
export const getUserDtlInfo = data => {
	return {}
	 
	//  request({
	// 	path: '/recruit/recruit/up_user',
	// 	method: 'POST',
	// 	data,
	// 	module: 'recruit'
	// })
}
export const setWorkPromotion = data => {
	return request({
		path: '/recruit/order/insert_order',
		method: 'POST',
		data,
		module: 'recruit'
	})
}
export const getPositionToTopInfo = data => {
	return request({
		path: '/recruit/recruit/tc',
		method: 'POST',
		data,
		module: 'recruit'
	})
}
export const getResumeDtlInfo = data => {
	return request({
		path: '/recruit/recruit/resume',
		method: 'POST',
		data,
		module: 'recruit'
	})
}
export const getExpectDtlInfo = data => {
	return request({
		path: '/recruit/recruit/expect',
		method: 'POST',
		data,
		module: 'recruit'
	})
}
export const getFreeDtlInfo = data => {
	return request({
		path: '/recruit/recruit/free',
		method: 'POST',
		data,
		module: 'recruit'
	})
}
export const getWorkDtlInfo = data => {
	return request({
		path: '/recruit/recruit/work',
		method: 'POST',
		data,
		module: 'recruit'
	})
}
export const uploadImage = data => {
	return request({
		path: '/recruit/recruit/notifyImg',
		method: 'POST',
		data,
		module: 'recruit'
	})
}
export const setWorkDtlInfo = data => {
	return request({
		path: '/recruit/recruit/up_work',
		method: 'POST',
		data,
		module: 'recruit'
	})
}
export const setExpectDtlInfo = data => {
	return request({
		path: '/recruit/recruit/up_expect',
		method: 'POST',
		data,
		module: 'recruit'
	})
}
export const setChangeInfo = data => {
	return request({
		path: '/recruit/recruit/change',
		method: 'POST',
		data,
		module: 'recruit'
	})
}
export const setCompanyInfo = data => {
	return request({
		path: '/circle/user/in_company',
		// path: '/recruit/recruit/in_company ',
		method: 'POST',
		data,
		module: 'lifeCircle'
	})
}
export const getCompanyInfo = data => {
	return request({
		path: '/recruit/recruit/company',
		method: 'POST',
		data,
		module: 'recruit'
	})
}
export const getAuthenticationSrv = data => {
	return request({
		path: '/recruit/recruit/se_authentication',
		method: 'POST',
		data,
		module: 'recruit'
	})
}
export const upAuthenticationSrv = data => {
	return request({
		path: '/recruit/recruit/up_authentication',
		method: 'POST',
		data,
		module: 'recruit'
	})
}
export const getHRCompanyDtlInfo = data => {
	return request({
		path: '/recruit/recruit/hr_company_member',
		method: 'POST',
		data,
		module: 'recruit'
	})
}
export const setReleaseInfo = data => {
	return request({
		path: '/recruit/recruit/release',
		method: 'POST',
		data,
		module: 'recruit'
	})
}
export const getPositionList = data => {
	return request({
		path: '/recruit/recruit/post_list',
		method: 'POST',
		data,
		module: 'recruit'
	})
}
export const getPositionPromotionInfo = data => {
	return request({
		path: '/recruit/recruit/tc',
		method: 'POST',
		data,
		module: 'recruit'
	})
}
export const setCompanyDtlInfo = data => {
	return request({
		path: '/recruit/recruit/up_company_member',
		method: 'POST',
		data,
		module: 'recruit'
	})
}
export const setPositionStateDetail = data => {
	return request({
		path: '/recruit/recruit/post_state',
		method: 'POST',
		data,
		module: 'recruit'
	})
}
export const setpositinEatiot = data => {
	return request({
		path: '/recruit/recruit/up_post',
		method: 'POST',
		data,
		module: 'recruit'
	})
}